package com.chang.pojo;

public class Order {
    private String code;
    private String userid;
    private String goodsid;
    private int num;
    public String txtorder(){
        return code+","+userid+","+goodsid+","+num+"\n";
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setGoodsid(String goodsid) {
        this.goodsid = goodsid;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public int getNum() {
        return num;
    }

    public String getCode() {
        return code;
    }

    public String getGoodsid() {
        return goodsid;
    }

    public String getUserid() {
        return userid;
    }
}
